﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using MySql.Data.MySqlClient;

/// <summary>
/// CommonDb 的摘要说明
/// </summary>
public class CommonDb
{
    #region Member
    protected MySqlConnection m_conn = null;
    #endregion

	public CommonDb()
	{
		//
		// TODO: 在此处添加构造函数逻辑
		//
        string connStr = String.Format("server=localhost;uid=root;pwd=123456;database=zgkaohe");
        m_conn = new MySqlConnection(connStr);
	}

}
